package com.cf.model;

import com.cf.crud.entity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * boot-shop-PropertyValue
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/8/16 下午 04:37
 */
@Entity
@Table(name = "propertyValue")
public class PropertyValue extends BaseEntity {

    /**
     * 属性码
     */
    private String code;

    /**
     * 属性值
     */
    private String value;

    /**
     * 属性类型
     */
    private int type = PropertyType.INHERENT.getType();


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
